package pe.gob.sunarp.entidad;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the SOCI_MINE_BK database table.
 * 
 */
//@Entity
//@Table(name="SOCI_MINE_BK")
public class SociMineBk implements Serializable {
	private static final long serialVersionUID = 1L;
	private String agntSync;
	private String estado;
	private String noSoci;
	private BigDecimal nsSoci;
	private BigDecimal refnumPart;
	private String tiSoci;
	private Date tsUltSync;

    public SociMineBk() {
    }


	@Column(name="AGNT_SYNC", length=4)
	public String getAgntSync() {
		return this.agntSync;
	}

	public void setAgntSync(String agntSync) {
		this.agntSync = agntSync;
	}


	@Column(nullable=false, length=1)
	public String getEstado() {
		return this.estado;
	}

	public void setEstado(String estado) {
		this.estado = estado;
	}


	@Column(name="NO_SOCI", nullable=false, length=150)
	public String getNoSoci() {
		return this.noSoci;
	}

	public void setNoSoci(String noSoci) {
		this.noSoci = noSoci;
	}


	@Column(name="NS_SOCI", nullable=false, precision=5)
	public BigDecimal getNsSoci() {
		return this.nsSoci;
	}

	public void setNsSoci(BigDecimal nsSoci) {
		this.nsSoci = nsSoci;
	}


	@Column(name="REFNUM_PART", nullable=false)
	public BigDecimal getRefnumPart() {
		return this.refnumPart;
	}

	public void setRefnumPart(BigDecimal refnumPart) {
		this.refnumPart = refnumPart;
	}


	@Column(name="TI_SOCI", nullable=false, length=1)
	public String getTiSoci() {
		return this.tiSoci;
	}

	public void setTiSoci(String tiSoci) {
		this.tiSoci = tiSoci;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="TS_ULT_SYNC")
	public Date getTsUltSync() {
		return this.tsUltSync;
	}

	public void setTsUltSync(Date tsUltSync) {
		this.tsUltSync = tsUltSync;
	}

}